package com.water.app.mapper;

import com.water.app.shop;
import com.water.app.shopGoodsType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface shopMapper {
    public shop selectShopById(int shopId);

    public int insertShop(shop shop,Integer userId);

    public int updatePicture(String url,Integer shopId);

    public List<shop> selectShopList(Integer userId);

    public int deleteShopById(Integer shopId,Integer userId);

    public List<shopGoodsType> selectShopTypeByShopId(Integer shopId);
}
